package com.dz.goods.service;

import com.dz.common.base.BasePageResultsVO;
import com.dz.goods.domain.entity.Template;
import com.dz.goods.domain.vo.TemplateParamsVO;
import com.dz.goods.domain.vo.TemplateResultsVO;


public interface TemplateService {
    Template findById(Long id)throws Exception;
    Template add(Template template)throws Exception;
    void delete(Long id)throws Exception;
    Template edit(Template template)throws Exception;
    BasePageResultsVO<TemplateResultsVO> getTemplateList(TemplateParamsVO vo)throws Exception;
    TemplateResultsVO findByCategoryId(Long id)throws Exception;

}